package org.jeecg.modules.wlhy.hyzyb.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(value = "配置围栏（业务传入运单）", description = "配置围栏（业务传入运单）")
public class ShippingFenceDTO implements Serializable {

    @ApiModelProperty("运单号")
    @NotNull
    private String shippingNoteNumber;

    @ApiModelProperty("分单号，必须为四位数字")
    @NotNull
    private String serialNumber;

    @ApiModelProperty("智运宝设备号")
    private String device;

    private String driverName;

    private String vehicleNumber;

    //围栏列表
    @NotNull
    List<FenceInfoDTO> fenceInfoList;

}
